<?php

declare(strict_types=1);

namespace App\System\Service\Model;


use Haozing\FastCore\Model\Model;

/**
 * @property int $user_id 用户主键
 * @property int $role_id 角色主键
 * @property int $tenant_id 租户ID
 */
class HeiUserRole extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'hei_user_role';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['user_id', 'role_id', 'tenant_id'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['user_id' => 'integer', 'role_id' => 'integer', 'tenant_id' => 'integer'];

}
